package com.liang.pcc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liang.pcc.domain.TopologyDataDTO;
import com.liang.pcc.util.TreeNode;

import java.util.List;

/**
* 设备层级表Service
*/
public interface TopologyDataService extends IService<TopologyDataDTO> {

    /**
     * 获取拓扑结构
     */
    List<TreeNode> getTopologyData(Long fileId);

    List<TreeNode> getTopologyData(Long fileId, Long userId);
}
